package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Role;
import cn.wolfcode.ssm.page.PageResult;
import cn.wolfcode.ssm.query.QueryObject;

import java.util.List;

public interface IRoleService {

    void save(Role role, Long[] ids);

    void update(Role role, Long[] ids);

    void delete(Long id);

    Role get(Long id);

    List<Role> selectAll();

    PageResult<Role> query(QueryObject qo);
}
